package com.ylkj.member.service.impl;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ylkj.common.entity.LawyerInfo;
import com.ylkj.member.dao.LawyerInfoDAO;
import com.ylkj.member.service.LawyerInfoService;

@Service
public class LawyerInfoServiceImpl implements LawyerInfoService {
    private static final Logger logger = LoggerFactory.getLogger(LawyerInfoServiceImpl.class);

	@Autowired
	private LawyerInfoDAO lawyerInfoDAO;
	
	@Override
	public List<LawyerInfo> queryLawyerInfoByPara(Map<String, Object> para) {
		return lawyerInfoDAO.queryLawyerInfoByPara(para);
	}

	@Override
	public void addLawyerInfo(LawyerInfo lawyerInfo) {
		lawyerInfoDAO.addLawyerInfo(lawyerInfo);
	}

	@Override
	public void updateLawyerInfo(LawyerInfo lawyerInfo) {
		lawyerInfoDAO.updateLawyerInfo(lawyerInfo);
	}

	@Override
	public void delLawyerInfo(LawyerInfo lawyerInfo) {
		lawyerInfoDAO.delLawyerInfo(lawyerInfo);
	}

}
